package modules.56lea.com
{
	import com.pqmvc.PQProxy;
	import com.tools.XmlUtil;
	import core.ResMgr;
	import core.SysConfig;
	
	public class 56lea.comProxy extends PQProxy
	{
		public static const NAME:String="56lea.comProxy";
		public var voList:Array;
		public function 56lea.comProxy()
		{
			super();
		}
		override public function init():void{
			voList=[];
		}
		override public function execute(param:Object=null, type:String=null):void{
			switch(type){
				case 56lea.comCmd.INIT_DATA:
					initData();
					break;
			}
		}
		private function initData():void{
			var xml:XML=ResMgr.getXml(SysConfig.self.xmlPath+"56lea.com.xml");
			for each(var ixml:XML in xml.item){
				var v:56lea.comVo=new 56lea.comVo();
				XmlUtil.AbtToObject(ixml,v);
				voList.push(v);
			}
		}
	}
}
